<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/ui/style" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>
<body>
  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.styleManage}</h1>
    </div>
    <div class="form">
      <form method="post" action="{:URL('admin/Ui/doStyle')}" enctype="multipart/form-data">
        <dl class="kv">
          <dt>
            <label>{$Think.lang.styleManage}：</label>
          </dt>
          <dd>
            <label>
              <foreach name="ds" item="value">
                <php>
                  $ddirs = new Dir($value['pathname']); foreach ($ddirs as $keys => $values) { if(in_array ( $values ['ext'], array ('gif','jpg','png') )) { $dir [] = $values;</php>
                <a href="__ROOT__/apps/home/Tpl/{$value.filename}/{$values['filename']}" class="fancybox">
                  <img src="__ROOT__/apps/home/Tpl/{$value.filename}/{$values['filename']}" width="200" height="100" />
                </a>
                <input name="changestyle" type="radio" value="{$value.filename}" <eq name="changestyle" value="$value.filename">checked</eq>>{$value.filename}&nbsp;
                <php>} }</php>
              </foreach>
            </label>
          </dd>
        </dl>
        <div class="actions">
          <input class="btn btn-y" type="submit" value="{$Think.lang.OK}" />
        </div>
      </form>
    </div>
  </div>
</body>
</html>
